package com.tenebrous.jestic.mapper.idao.framwork.meber.organ;

import com.tenebrous.jestic.entity.framwork.meber.organ.OrgUserExame;
import com.tenebrous.jestic.mapper.ISuperMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

//@Mapper
public interface OrgUserExameMapper extends ISuperMapper<OrgUserExame> {

    @Update("UPDATE ORG_USER_EXAME SET TORESUME=#{toresume} WHERE USERID = #{userid}")
    int updateForResumeByUserid(@Param("userid") String userid, @Param("toresume") Integer toresume);

    List<OrgUserExame> selectByCondition(@Param("userid") String userid, @Param("toresume") Integer toresume, @Param("tomoval") Integer tomoval);

}